using MediatR;
using B.S.RbacData.ErrorCode;
using SupplierCustomerManagement.Read.API.Dtos;

namespace SupplierCustomerManagement.Read.API.Applications.Commands.reportforms
{
    /// <summary>
    /// 获取存栏统计汇总列表 查询命令
    /// </summary>
    public class GetSheepInventorySummariesQuery : IRequest<ApiPaging<SheepInventorySummaryListDto>>
    {
        /// <summary>
        /// 页码（从1开始）
        /// </summary>
        public int PageIndex { get; set; } = 1;

        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { get; set; } = 10;

        /// <summary>
        /// 羊只类型（种公/种母/幼羊/后备/羔羊）
        /// </summary>
        public string? SheepType { get; set; }

        /// <summary>
        /// 品种（模糊查询）
        /// </summary>
        public string? Breed { get; set; }


        /// <summary>
        /// 开始日期（包含）
        /// </summary>
        public DateTime? StartDate { get; set; }

        /// <summary>
        /// 结束日期（包含）
        /// </summary>
        public DateTime? EndDate { get; set; }
    }
}

